{% extends "base.html" %}

{% block nav %}
<li class="active">
    <i class="fa fa-mobile-phone "></i> 远程文件上传
</li>
{% endblock %}

{% block content %}

<div class="row">
  <div class="col-md-12">
      {% if resu %}
	  <div class="col-md-12">
		  <table class="table">
		  	 <thead>
			    <tr>
			      <th >ip地址</th>
			      <th >执行状态</th>
			      <th >执行结果</th>
			    </tr>
			</thead>
			  {% if resu['code'] == 0000 %}
				<tr class="success">
					<td > {{ resu['ip'] }} </td>
					<td > {{ resu['code'] }} </td>
					<td > {{ resu['message'] }} </td>
				</tr>
			  {% else %}
				<tr class="danger">
					<td > {{ resu['ip'] }} </td>
					<td > {{ resu['code'] }} </td>
					<td > {{ resu['message'] }} </td>
				</tr>
			  {% endif %}
		  </table>
	  </div>
  {% endif %}
  </div>
</div>

{% endblock %}

